﻿using System.Web.Mvc;
using BLL;

namespace WEB.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            Produdo ob = new Produdo();

            ViewBag.QtdLivros = ob.QtdObjetosPorTipo(1);
            //ViewBag.Total = "sds";
            //ViewBag.Message = "Welcome to ASP.NET MVC!";


            //Usuario usuar = new Usuario();

            ViewData["ListarObjetos"] = ob.ListarUsandoQnt(20);
            

            return View();
        }

        public ActionResult About()
        {
            return View();
        }

    }
}
